<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
</head>
<body>
<a href="/">专家列表</a>
<form action="" method="POST" enctype="multipart/form-data">
    专家姓名: <input type="text" name="model[name]" value="<?= $record['name']?>" placeholder="请输入专家姓名" />
    <br /><br />
    性别：
    <input type="radio" name="model[sex]" id="sex1" value="1" <?=  $record['sex']==1 ? 'checked' : '' ?> />男
    <input type="radio" name="model[sex]" id="sex2" value="2" <?=  $record['sex']==2 ? 'checked' : '' ?>/>女
    <br /><br />


    <img style="width: 100px;height: 100px" src="/image/<?= $record['image']?>">
    <br /><br />
    重新选中照片：<input type="file" name="file" value="<?= $record['image']?>">


    <br /><br />

    科室: <input type="text" name="model[office]" value="<?= $record['office']?>" placeholder="请输入科室" />
    <br /><br />
    职位: <input type="text" name="model[job]" value="<?= $record['job']?>" placeholder="请输入职位" />
    <br /><br />


    <br /><br />
    特长:
    <!-- 文本域 -->
    <textarea rows="5" cols="10"  name="model[professional]"><?= $record['professional']?></textarea>
    <br /><br />
    <input type="submit" id="" value="保存" />
</form>


</body>
</html>
